rebuilding layout for top-content