fix horizontal move