minor bug fix and height animation fix