fixed mobile layout for tempChart

also added fix for panEvents on touch devices