CategoryView: fixed wrong casting
DiagramPanel: fixed wrong casting
MainWindow: fixed collection bottom bar theme
MainWindow: fixed scrollbar policy
CategoryItemList: fixed resizing code
DiagramPanel: rewritten from scratch
CategoryView: changed sizes desperatelly to fix a BoxLayout bug
CategoryView: small code cleanup
MainWindow: now manages DiagramPanel manually