Overhauled popup styles. Introduced center, left and right for popups.