fix responsive functionality of the sidebar and header