Well if you don’t mind the trouble of putting a swim cap on, that might work, but I think you are looking for this. You can most likely find it cheaper on another site, but I just found this by googling lol. Some call it a scuba doo rag, and it comes in alot of neat designs. Hope this helps! =)
http://www.scubagearplus.com/products.asp?cat=480