fix some safari style and try to fix sensor remote for firefox