Better logic for choosing bar id in map movie