Recenter

How to recenter automatically on resume?