trouble implementing mousedrag events
mostly working; window resizing is wonky