Complete solution for tap-to-zoom