make scroll only visible when needed