add and call tooltip function
add styles for tooltip function
merging tooltip branch to tooltip master