fixed total no. of pages in page navigation widget
enabled OpenMP