Added tss selector for horizontalWrap

Also fixed some minor bugs.