Adding newpage for figures