Fixed window resize so infoboxes stay in view.