added drag and drop upload to gallery