Fix height of text viewer