Fixes to pills, tabs, pagination