Fixed flipped inervals. Added some physics.