Fix #56 - only add current class to first item

The loop which initializes the frame links was adding the current class
to all items.