It seems to work fine, but it's not actually using the ```bottom``` at any point, it's always using a ```top``` value. When exactly do you expect this ```bottom``` to be used?. (There does seem to be a problem with the actual ToC not scrolling properly, but that's a separate issue, so I'll deal with it separately.)