trying to set the first and last child's arrow display property