Changed the "enabled" placement to maintain scroll animation, and only use it to determine window height.