Move navigators logic to filetab class and make navigators message selected sensible.

Now when you click on a message row the navigators adact their index in
order to behave correctly and go to the next or previous item taking
the selected as reference.