Timeline: Fix backwards navigation by bar and beat.

Simplification of a patch submitted by Roy Vegard Ovesen. Closes #43.