Tried another approach to fix the error with resizing the details page. So far this passes the test cases. (There is still somewhat of a timing error that occurs)
Merge pull request #4 from Jedwondle/master

Tried another approach to fix the error with resizing the details page. ...