fix the layout issues when changing the arrows while displaying