Fire an event for changing page