Added viewchange event.