brushend event listener working