Changed slider functionality

Button has to be deleted.