conditional checks to timeline and map components