refactor slider and make code climate happy
make code climate happy