set scroll view size limits