move line scrolling in a separated function

Separate the line scrolling callback in an extra function so that we can reused
it to every given line. Since we fixed the screen flickering issue. This is
needed as preparation for scrolling both, or later 4 lines.
fixed wrong error handling while failed to retrieve station