custom width

This implements the issue #1.
There is a new seekbar in the example application too.
Fixed a lot of lint warnings too.