Added utils for checking if an element has scrollbars.
Added check for visibility inside elements.