var scrollPercent = Math.round(100 * $(window).scrollTop() / ($(document).height() - $(window).height()));