fix pan-zoom md