added sprite flipping to Zombie class