Fix borders when resize the grid and after that we use show/hide button to show/hide grid content