properly disable the scrollbar and toolbar