New: toggleOrientation function

-Fixed one spacing issue

-Added "toggleOrientation" function to switch between orientations

-Added public interface to this

-Added a bit of documentation and clarified getX/YOffset
Merge branch 'develop' of https://github.com/ddmal/diva.js into develop