improved selected bar layout