tweaking line length in code to fit split screen width