Streaming live at 10am (PST)

Tab change coding help

I’ve successfully implemented tab change functionality into my site.

Below u can see I have it on two sites and included dummy buttons below to play around by moving to and from sites.

Link 1 : Membership
Link 2 : Subscription

But the problem which I have is the page is scrolled directly to the tab without showing the above content.

Pic 1 : what I wanted after button click :

Pic 2: what I get after button clicked

You can see the “Fill up the form details to star reading is moved up”. But I want it to be shown.

The code I used is

How to solve this so that the page starts from the top?

Here is my site Read-Only: LINK
(how to share your site Read-Only link)