added ability to close swipebox by vertical swipe
Added options to disable SVG and fixed IE bug
declare index as local var
Merge pull request #111 from c0rewell/close_swipe

added ability to close swipebox by vertical swipe
Merge pull request #117 from baranga/fixGlobalIndexVar

declare index as local var
Added hideBarsOnMobile option, clean up
Added hideBarsOnMobile option, clean up