adding click handler for paper