updated hero movement (vertical animation)