Fixed when the Content size is smaller than the frame size

When the ContentSize of a UIScrollView is smaller than the size of the
frame the animation looks so weird because the UINavigationBar starts
the animation when it should not be animated.