handlers and stuff for dragging, still didn't test that