Merge pull request #980 from chrox/collapsible_toc

refactoring readerrolling
Merge pull request #984 from chrox/collapsible_toc

count only leaf nodes of toc tree when level is zero
refactoring restoreScreenMode from readerview to filemanager
This should fix #983.