Fix Camera Target Sticking

@kadst43 I changed the panCamera action to take an optional duration. If that duration is specified, the camera will pack back to its last target after the specified duration in seconds. No duration means that the switch is permanent.