trying to add transitions for each page