changes strategy on dynamic layout and added splitter control