Add dynamic resizing to Scrotter