fix ui of main views div