If the opened page is listed on the sidebar, it becomes active