Add border and offset