Buying a replacement display assembly would repair that damage. It's not a super hard repair, but you could break the rest of the Mac while it's open so if you read the guide for your Mac on iFixit.com or another place where people make DIY repair manuals - you can choose to pay a technician or see if DIY is worth an attempt.
Also - you don't need to fix this - you could use your Mac in closed clamshell mode with an external display - it won't be portable, but an external display is cheaper and larger than the built in one and you would get to use that external with any computer and not sink the cost on the custom display as a service part.
Since your movement changes the lines - it's a fracture / disconnect of the wires to run the display and the panel that broke - not that the logic board or GPU have issues as the most likely failure mode. Once you get in to the Mac - you may find the logic board also cracked - so be sure you are OK getting it repaired ($800 for MacBook - $1200 for MacBook Pro) if all the parts are damaged and not just the screen. When you open, like Humpty Dumpty - if the case is holding things together marginally, when you open the case, you may find / cause more damage.