Add close button and fix pagination scroll position

Resolves #94
Resolves #98