remove logs
add dynamic arrow based on left or right