Fixed bug with calculating width

Issue arose when controllers on the right didn't need to be resized and the one on the left did
Updated View controller with updates for preventing resizing if scrolling to right and added example project

Updated View controller with updates for preventing resizing if scrolling to right and added example project that demonstrates the new features