added client side resizing and removed server side resizing for vendor profile.