Fixed the nested effect slide grid function.