Using window.innerWidth rather than document.width
Merge branch 'master' of https://github.com/silversteez/PathFinder