some progress on platformer collision
flip when walking