move marker events from model to view