fixed highlighting of currently selected page