added a page transition for the first load