fixed the dynamic layout to include static content as well