Difficult to say without more information, but the first thing I noticed is that you have a WrapPanel in a ScrollViewer, and that WrapPanel contains an ItemsControl, with a WrapPanel as ItemsPanel.
The "inner" WrapPanel doesn't have an ItemWidth or ItemHeight. Is there any reason you have two WrapPanel's?