Push history only if it is a different page