Further refinement to app message in/out transition

Reworked the fade-in and fade-out transitions, as well as the markup around the app message div.