Added listeners for sidebar