adds pan animation when temple link is clicked on sidebar
deletes console.log used for testing
adds duration of 1.5 seconds to pan options