Use only css to control sticky behavior

This allows css to fully control behavior and allow more responsive handling via media queries (like a max-height override for landscape mode on iPhones).