home page layout and gallery display