Snap horizontally or vertically.