Goes to next line instead of previous