added scroll code to fix navbar