Removing slider when window is loaded at smaller than 1024