initial categories nav js and animation