add click event for poping picture