resizes pictures, changes styling