Added close and far detection
Added an integrator to the head tilt value.
Added Motion event and added behaviour to demo 2