https://javascript.plainenglish.io/how-to-get-the-css-top-property-value-as-a-number-rather-than-a-string-with-javascript-30f8f60ebc08