added option to flip camera