Added scope to the event-thumbnail directive