implement move.up.forward/backward and move.down.forward/backward

and eliminate warnings