update image border + add zoom functionality