Added a UI component to test the resizing and dragging