init block, toggle grid