grid resizing works!!!

i still need to refactor this