updated with windows tile support and hopefully better width