Added history to gallery