adjust grid to background