Fixed the header to top and added dynamic preview;