added code to allow for the rightmost label to be seen in its entirety