Changed topsites to onClick

Changed the topsites to an onclick and codecleanup