add centering picture while zooming