fixes #95, remove line at the line boundary now removes the line and
advances to the next/previous line