making autogrids responsive