add vertical scrolling and some fixes