using max-height on css transition