added metoth to change content on category selection