Adding event listeners for twitter plot