use direction constants and get_neighbor()
Merge branch 'master' of https://github.com/meaninglessidentifier/Desktop-Scroller--Cinnamon-