Fix firefox appendChild/scroll problem
On firefox ```appendChild(element)``` reset the element scrolls position, implement a new way based on zIndex (more complicate, but do the job).