Fix slider update on iOS 5

Now slider should work on iOS 5.