Some bug fixing in jquery.sticky