Optimised the sidebar for smaller device sizes