better auto-centering and zoom control