cross browser and device fixes - firefox