implement messagepanel animation using margin-top