Improve browser compatibility of toolbar layout