Prevent scroll on tab click