header,period editor pulled out from his parent
fixed repaint of layer dependencies
Revert "header,period editor pulled out from his parent"

This reverts commit a291e3a53d764b0ed6fbed9cf5c7cd53ff52d7bc.