Need vertical slider to start at TOP of div. Currently at the bottom.

Need vertical slider to start at TOP of div. Currently at the bottom.


My slider is currently starting at the bottom of the div. I'd like it
to start at the Top of the div and when I pull down, slide my content
up.
I have looked on the list... I'm hoping that this example can be a
little bit simpler.
Any suggestions would be very helpful
Here's my code:
var scrollBlock = $('.contentViewer').height();
var displayBlock = $('.contentBlock').height();
var maxScroll = scrollBlock - displayBlock;
if (scrollBlock <= displayBlock) {
$('#slider').hide();
} else {
$("#slider").slider({
            orientation: "vertical",
            min: 0,
            max: maxScroll,
slide: function (ev, ui) {
$('.contentViewer').css('top', '-' + ui.value
+ 'px');
},
});
};