photo sort direction can be set
added append functionality and direct delete possibility to gallery page