Auto refresh index page to avoid cached one for offline mode. Clear some session param when getting back to index, including slim mode