fix bug

when the picture width is bigger than the page width, it's ok now.