Not working solution.
Final version of the reliable example and does work properly.