flip view
fixes to flip
additional hlper funcs
api usage fix