Subtest Grid: Resolve UI overflow issue

Scale the grid appropriately to fit within the content window if the length of the text pushes beyond the viewport width