Pad coords done and collision with borders

Pad coordinates works, needs fine tuning.
Collision with borders work, "bounce" needs fine tuning.