Added resizing and right click functionality to the interface