Creating a page transition effect using css animations.. and handling it with JS.