hiding scroll bar on main page if we don't need it.