fixed bugs in php, started details page, smoothed transitions