Added delegate that allows handling of tapping on thumbnail.