now hide/show working properly: button inside, also picture form buffer limited to 500KB