formatting popup and changing popup to mouseover