cap size and make scrollable