Implemented home page autocollapse on page load with item view mode