added random image button
fixed thumbnail alignment