reset the scrolledwindow to top on page navigations
fixed the encoding for metadata file