Properly select the current item in the outline page