animation fix and css fixes