got the horizontal bar of my pointer lines working. Also did some refactoring.