How to Fill the Gap Between Headboard and Mattress?

That pesky gap between the mattress and the headboard can be irritating, especially if you have to pry your pillow out of it in the middle of the night. It also can be dangerous for small children who get their…