Alina,Kalyan Detecting motion along the horizontal axis - left, right