Added collision detection for all screen edges. Mouse/touch now works in all directions.