Fix transition duration after swipe
Do not detach the fotorama block if it is empty (#42)