need math added - working gui for virtual splitter