Top screen just darkens

Whenever I touch the top screen, or the top cover, the top screen just darkens a lot. You can still see the game and play normally, it’s just very hard to see. I have also dropped the 3ds a few times.