Fixed the Modal

Modal would appear off the viewport when a user had scrolled the page before clicking a result.

BEFORE
![beagle_before](https://f.cloud.github.com/assets/2602872/713931/438449e0-dee6-11e2-911a-a007943b37ba.png)

AFTER
![beagle_after](https://f.cloud.github.com/assets/2602872/713930/4388107a-dee6-11e2-9ece-af3e2cdc40ae.png)