change name of position parameter to tabsPosition