Added scaling based on vertical space