title
cope with orientation change

flickers the footer :/
refactored to smaller and better code

uses a large margin on the body of the page to force correct innerheight
on mobile safari