prevent resizing pictures after 800 px