resize bar for optimum real estate