resizing improvements

- tried to remove duplicating h1/fixed nav (seems to be related to
having h1 in the fixed nag)
- added resize function for div height