add generator for flip views

Added a generator to create the flip views.