:back and :forward are not executed when not needed