implemented vertical tile collision
implemented one-way x collision, refactored layers