Now compares to the closest x coordinate (not center of device)

Completed the rest of the cases (Left, Right)
Added another test for Left