Adding dropAllPins logic into the pinview function