Refactoring. Add shadow to slider