displaying slider in home page only