Fixing Category.js pull to refresh