added code to disable it if the content area is not large enough