completing layout