The pole topping lift idea works really well.

If it still bothers you when you sleep on the boat I reccomend taking two Tylenol PM. They will give you a good night sleep especially when it is really windy or dead calm and 100 degrees. Don't laugh it works.