taking js positioning to scss