removed div for triangle and fixing browser quirks