fix text alignment on varying screen sizes