Fix for some lame android browsers: Image reopens after being closed

see https://github.com/dimsemenov/PhotoSwipe/issues/384