add support for dragging the profile window