Prevent nav panel from overlapping content