readied example for dev
separated ratio and position setting
added window resize handler, fixes #1
version bump