added clearing markup to gallery