make preview scrollable