Added auto sizing script to categories