add methods to extend and retract slider