Tile collisions and gravity work fine now.
Some changes to add scrolling. Collisions are fine now.