added gallery swipe functionality, css tweaks