Added animate as option to slider