add direction front & back on move