Set ending css on all page transitions