Added scaling based on window height