hide sidebar and search when width is small