So there are times where there is a need to jump to the confirmation that is being shown on the form page after submission. Here are a few examples of how to do this.
//popping down to confirmation message upon submission for all forms add_filter( 'gform_confirmation_anchor', '__return_true' ); //for form with the ID of 5 add_filter( 'gform_confirmation_anchor_5', '__return_false' ); //telling the screen to jump down 20 pixels add_filter( 'gform_confirmation_anchor', function() { return 20; } );