Can't seem to enqueue jquery script properly

I'm trying to run a simple jquery script on my custom theme. I have the script working on jsfiddle. So I'm fairly sure that the script works.

I think I don't understand how to enqueue the script with jquery properly in my functions.php file.

What am I doing wrong? I was able to enqueue some fontello css just fine.

Here is the code clip where I'm trying to make this work. Any insight welcome.

add_action( 'wp_enqueue_scripts', 'add_togglepanels', 11 );

function add_togglepanels()
   wp_register_script('togglepanels', get_template_directory_uri() . '/js/togglepanels.js', false, null, true);