Moved scrollable event creator to painted function