demo for view flip from one side