Basic affix functionality. Change the way tabs work.

todo: rethink tests