move home layoutfrom application to local view