Respond to window height and orientation changes; clean up code