views should have same width as pages
Fixes #17: Implemented resistance calculator