fixed some justter on discovery and history pages