update height calculating of  dragger with the paddings