remove scrollbars, add js function