added transition between pages. need to also add loader