fixed direction start/end
Merge branch 'master' of https://github.com/gears88/YRS2013