Adde page class and transtion on links