Fix ResultView resizing

- Fix that resizeResults and menuOffset were incorrectly referenced
- Ensure that $resultArea has its margin adjusted so it doesn't cover up the structure view (90191c5)