fix bugs and add more options to details page;
fix variables;
details page show full height;