added append functionality and direct delete possibility to gallery page