Fix css bet bar error and Better logic for bet bar