Improved menu hide-unhide fcn when scrolling