use translateX/Y for slideHorizontal/slideVertical to avoid a bug in velocity