moved css from sensor