centering and adding interactivity