refactored the styling of the svg boundary