Margin value to the first container will shift the scrollbar.
$('.container').css( 'margin-top', '50');
When you make a change to DOM and need nicescroll to refresh your position, you have to call resize method.
Thanks, will do that.
The thing is that working if I change the padding-top instead of the margin-top.