Add elements-switcher element
Make battery history page work offline
Improve offline battery page styles