correct hints positioning relative to the right border of the grid