add swipe support (fixes #24), add functions for switching to next / prev gallery item, rename open and close prototype functions
add swipe support (fixes #24), add functions for switching to next / prev gallery item, rename open and close prototype functions

maoberlehner/perfundo,maoberlehner/perfundo