added pagination to move types index and cleaned up the CSS a lil