Adds move 1 line up and down function.