code for zoom center and drag and drop