Refactored to use the excellent jQuery supersized plugin instead