removes from the slider code
hides the search option in mobile