implemented sliding graphics