Attempting to make yScrollPosition global