changed how grid size alters