added a custom border and set that border around the canvas