Fixed some animation bugs that were breaking small screens and automatic flyout changes.