handle empty layer in swipe
Merge branch 'master' of https://github.com/aino/galleria