scroll and tab effects for main