finalize layout changes