updated  layout functions /layout

updated  layout functions /layout