only handle click on wrapper if content is smaller than wrapper