i’ve a webpage with two fastened blocks — on a prime and on a backside.

when i scroll it in safari on ios, there’s some lag, when backside safari bar collapses or expands — is it attainable to make it smoother?

that is the way it appears: https://i.stack.imgur.com/BFECv.gif

code:

physique {
    width:100vw;
    top: auto;
    min-height: 100vh;
    overflow: scroll;
    background: white;
    colour: black;
    margin: 0;
    padding: 0;
    place: relative;
}

div {
    show: block;
}

#wrap {
    margin: 0 2.7vw;
    padding: 2.7vw 0;
    width: 94.6vw;
    top:  auto;
    min-height: 100vh;
    float: left;
    overflow: hidden;
    show: block;
    place: relative;
}

#int {
    place: fastened;
    width: inherit;
    z-index: 999;
}

    #prime {
        width: inherit;
        top: 9vw;
        border-radius: 4.5vw;
        box-shadow: 0 0 7.1vw rgba(255, 0, 255, 0.3);
        background-color: white;
        opacity: 1;
        prime: 5.4vw;
        place: fastened;
    }
  
    #backside {
        width: inherit;
        top: 9vw;
        border-radius: 4.5vw;
        box-shadow: 0 0 7.1vw rgba(255, 0, 255, 0.3);
        background-color: white;
        opacity: 1;
        backside: 5.4vw;
        place: fastened;
    }
<html>
<head>
    <meta http-equiv="Content material-Kind" content material="textual content/html; charset=utf-8">
    <meta title="viewport" content material="width=device-width, top=device-height" />
    <hyperlink rel="stylesheet" kind="textual content/css" href="https://stackoverflow.com/questions/73750840/type.css">
  <title></title>
</head>
<physique>
    <div id="wrap">
        <div id="int">
            <div id="prime">
                <span id="again">←</span>
                <span id="brand">гей-пропаганда</span>
                <div id="pacific"></div>
            </div>
            <div id="backside">
                <span id="share">распространить: <a href="">тг</a>, <a href="">тв</a>, <a href="">фб</a>, <a href="">вк</a></span>
            </div>
        </div>

(sure, i take advantage of viewport width ‘trigger i am a designer and that i can)

hyperlink to open in your telephone: http://chudovotapolesbiyski.surge.sh/

thanks