added fragment caching to the main page