fixed javascript / css3 easing problem with if else causing slider not to work in ie8 & ie9