Fixed autoscroll
Merge pull request #1334 from paoloantinori/log_sort2

Fixed autoscroll direction