add preview layer and toggle camera