Added more animation functionality to ui_slider