Before pinch-to-zoom functionality added.