Added a simple fadeOut-fadeIn effect to gallery on swipe/button-click.