adding flip option for picture