disable css from slides while not using slides