Prevent jumps on html toggle