cmd_ changes to bring behaviour in line with stack

cmd_up/cmd_down now behaving as cmd_next/cmd_prev and cmd_shuffle_up/cmd_shuffle_down
is introduced.