Lock the scroll of a element and freeze in the actual position.