added constants and made more modular
Merge branch 'master' of https://github.com/mikejacobson/ScrollingTabs