mobile and small devices view changed for sidebar