add player and bars resize method