fixing category.js for page height