fix initial rendering of loaded pages
prevent side panel appearing briefly during page transition