got flip buttons working, added click on portrait to flip one at a time