rejiggering window resizing