Making panels smaller to allow more space for current view