layer resize code structure
adding transform bounding box
transform logic
active layer bounding box
Merge remote-tracking branch 'origin/master' into gh-pages