Fixed popups in the result-value directive, and several other fixes.

- Fixed several scrollbar styling issues.
- Removed some unnecessary scope variables and watches.
- Removed the need for adding a watch (which didn't work) on results.rows in main.js in order to set up the popups.