reorganized study pages
study header autodetects active tab