Collision detection between rectangles

See the video