Revert back the fix when resize grid and then use show/hide button. The fix is wrong and causes many more problems