Initial code for auto 100% width
Update demo for 100% width test
Condense ternary logic
Code cleanup