add event
some layout changes