Add resize event listener
Add arrows setup