add drag function to resolve zoom+drag conflict