added flipping button and started overlay toggle