always overlap half of border over image to avoid white spaces between