Add checks to determine which form should be viewed so that forms will stay visible on button clicks. Update style of index.