resizes screenshot