Implemented scrollbar visiblity policy