added go-to-page functionality