adding click interaction

remove inline style attribute. use css class instead.