Implemented fadeIn transitions when loading pages.