pages and animation flip added