update scroll height on runtime