Updating directional controls when window resizes