Reorganized scroll procedure and views management. Needs to be fixed.