Added window resize listener to SimulationView.