Added a call to requestAnimationFrame for better performance

I was testing this slider on my iPhone 4. It was pretty horrible. I made minor changes so that new frames aren't calculated and drawn when there is another frame pending to be drawn. It's slightly better.
I also removed some redundant calls to angular.element().
I can think of some more optimizations but I thought I wouldn't change too much in a single pull request.