Changes to post-hover.js

- Previews appear to the left of the link if there isn't much room on the right
- Backlinks are shown in previews
- Expanded images are collapsed in previews
- Resizes the preview if necessary so it doesn't go off-screen