web: Optimize display of action bar on small displays