changed UnitDisplay to open at side of main window