Changed position of detail page and bugfixes