lock and unlock for local storage, make scrollbar-y hidden