disabled slider with arrow keys,needs to be fixed, refactoring