Fix preview links in Bootstrap 3 and other show-hide bugs.