Framebased plot now is controlled with buttons