Fixed Tick Placement (Default and Flat Slider)

I've took the advise from spiritdead and fixed my flat slider style and merged his fix for the default slider in.

References: #502, #518