implemented overlay for games layout