applied animation on page change, started restructure