change scrolling to use jquery. Still initFrame doesn't get called always