implenent flip view page