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

added Booleans  ```isTranslatableX```,  ```isTranslatableY ```, ```canCrossParentBoundries``` & made the corresponding modifications.