touched up firefox display code