move border energy absorb into rect object var

keeps editable vars that affect physics as traits of myRect, making them
easier to access in HTML