updated shadow so properties can be changed and replaced rotate with a global transform