refactored the marker into it's own view