Added swap camera functionality