Add directory navigation

Add pageup/pagedown cycling through images in a directory.

The initial image/directory is specified via the first command-line
argument.  The current working directory is used otherwise.