Added tap gesture to content view instead of scroll to prevent it being triggered before a swipe has fully ended.