Fix the mark for current history item in the popup menu of forward and backward buttons.