Changed the origin of the tileSize value.
Added top and left offsets for navigation
Added the top, left, right and bottom attributes to the grid object.
Modified right and bottom properties on calls to #setSize.