Tidy up list.js; don't reset popover on show.
Added callbacks to some things.