//Horizontal movement works with matrics