Got horizontal splitter working
Remove unused code from panel and splitter