added scroll function to connect page