auto recenter on toggle hidden

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>