Identity matrix method
collected functionality from drag and dragend handlers
Added release handler