my implementation link is

The problem arising is when i tried to make the website responsive to change in height of images on change in height of window, i added a css line to jscrollpane.css under
height:100%; /*new line*/
unfortunately this new line despite making the height of images responsive lead to clipping of the last image in Firefox. This clipping is not happening in IE or Chrome.

The script uses .scrollWidth to get width of content in scrollbar