fix print_after scrollback

The patch fixes the calculation of bottom_startline and startline for
the scrollback buffer, so if you insert lines in the middle of the
TextBuffer using the print_after API it will not break scrolling after
a while. This issue is also mentioned in
http://juerd.nl/files/irssi/typofix.pl NOTE1