only hide sides if not already on the center