animations in chat open/close event