add \usepackage{varioref} and make changes in Thesis.cls file