Added autocollapse home page when item is added