Add an AJAX call for sidebar click