Fix to auto-scroll.

Signed-off-by: MaloW <MaloW@spray.se>