Updating scope variables using scope.. Added scroll pane