plays nicer with resizing browser