Fixed function name and added toggle class to "clicked" anchor.