Fix sticky.js logic, initializing it on both resize and document ready event