How to take photos while navigating