Refactor pad movement.