implemented a grid view curtain