adding oscillating bitmap behavior