put position: relative on the sliding element