fixed swiping issue that I introduced while thinking I was fixing a non-existent modulo bug.

Closes #75