Improved dismiss animation