previous and next level now warparound, fixes #37