page flipper lib works properly now
added common library