on layout complete event added