speed capped per-axis using MAX_DX and MAX_DY