added scroll to current window feature