Final version. Recenter button added