added hiding markers if they are too far away