option to disable Y or X translation, & crossing boundaries.

Added Booleans  ```isTranslatableX```,  ```isTranslatableY ```, ```canCrossParentBoundries``` & made the corresponding modifications