Added max-height animation to avoid body's scrollbar