Up/Down in period table

Fixes #146