Hack on AngularJS image sliding.