Dynamic resizing of home page and subnav