added config to reset the zoom when mouse is clicked outside zoom container