fixed the sidebar view for mobile and small devices