Removed unnecessary arg in toggleCat, implemented forward looping. Still some bugs left to fix.