removed unused functions
refactored slider
styling