This is a page I made inspired by two demos. It combines a carousel and a pull-to-refresh feature. The reason I need the pull-to-refresh is because the carousel will later have content added to it dynamically that changes on refresh.

I noticed that the carousel is kind of laggy when the slides are dragged, they work with drag and swipe / touch, and I was wondering if someone could help me optimise the javascript and jQuery that I used in this document.

So that the carousel works better or to remove any bad practices and anything that could be hindering performance.

I would greatly appreciate any help in optimising any part or all of this.'

What I have done below is the max of my knowledge and I am asking for those with more knowledge and talent help me learn to better my js / jQuery coding.

Here is the page: http://pastebin.com/ZP4kdmmm

Thanks in Advance!