split the sidebar into top and bottom for responsive mode