adds overlay functionality without css actually working