Working code for left right top bottom

all movements are tilt based.
Needs more tuning