made patterns scrollable