mostly improve the file listing popovers on small screens and touch interfaces

It's still a clunky solution that doesn't work all that well on touch interfaces thanks to twitter/bootstrap#6875