Adds history menu on right-click on history arrows