Disable scrolling if only one item was passed.

Also had to move the on hover action to a function and call it if needed, separately.