Added support for sameLine
Setup sameLine function