fixes scroll and active on resource button