Made a constructor for smartRegions
Added functionality where the header disappears while the user is scrolling with a touch device